package com.train.service;

import com.train.pojo.User;

import java.util.List;

public interface UserService {
    User selectPasswordByName(String userName, String password);
    User selectUserByid(int id);
    List<User> selectAllUser();
    int addUser(User user);
    int updateUser(User user);
    int deleteUser(int id);
}
